package com.go.where.manager.service;

import com.go.where.manager.page.Pagination;
import com.go.where.manager.pojo.ActivityRetrospectInfo;
import com.go.where.manager.pojo.user.UserInfoVO;

/**
 * 活动回顾信息Service
 * 
 * @author java
 * 
 */
public interface ActivityRetrospectService {

	/**
	 * 根据主键id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public ActivityRetrospectInfo queryByPrimartKey(String id);

	/**
	 * 分页查询
	 * 
	 * @param retrospectInfo
	 * @return
	 */
	public Pagination<ActivityRetrospectInfo> queryPage(
			ActivityRetrospectInfo retrospectInfo);

	/**
	 * 修改信息
	 * 
	 * @param retrospectInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int update(ActivityRetrospectInfo retrospectInfo,
			UserInfoVO currentUser);

	/**
	 * 保存信息
	 * 
	 * @param retrospectInfo
	 * @param currentUser
	 * 
	 * @return
	 */
	public int save(ActivityRetrospectInfo retrospectInfo,
			UserInfoVO currentUser);
	
	public ActivityRetrospectInfo queryByContent(String content);

}
